package com.remote;

import android.util.Log;

class RemoteThread implements Runnable{
    Thread thread;
    private boolean end = false;
    
    public RemoteThread(){}
    
    public RemoteThread(String name){
        thread = new Thread(this,name);
        thread.start();
    }
    
    @Override
    public void run(){
        Log.i(thread.getName(),"Running");
    }
    
    public boolean getEnd(){
        return this.end;
    } 
    
    public void endThread(){
        this.end = true;
    }
        
}
